package com.otitan.la.forest.industry.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: java类作用描述
 * @Author: jiachangsen
 * @CreateDate: 2020/10/14 16:36
 * @UpdateUser: jiachangsen
 * @UpdateDate: 2020/10/14 16:36
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cat {

    private String id;

    @Excel(name = "姓名", orderNum = "1", width = 30)
    private String name;

    @Excel(name = "性别", orderNum = "1", replace = { "男_1", "女_0" }, width = 30)
    private String sex;

    @Excel(name = "年龄", orderNum = "1", width = 30)
    private Integer age;

    @Excel(name = "存款", orderNum = "1", width = 30)
    private BigDecimal money;

    @Excel(name = "生日", orderNum = "1", width = 30, format="yyyy-MM-dd")
    private Date birthday;

    private String remark;

}
